* syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
authorJim Blandy <jimb@redhat.com>
Thu, 10 Jun 1993 10:28:58 +0000 (10:28 +0000)
committerJim Blandy <jimb@redhat.com>
Thu, 10 Jun 1993 10:28:58 +0000 (10:28 +0000)
with the proper number of arguments.

src/syntax.c

index db60b8f09f50991c64da0531febd850eeb68ac90..4386ea2db0c97b752c390be11a0e94cb77726514 100644 (file)
@@ -804,7 +804,7 @@ between them, return t; otherwise return nil.")
                       last passed a comment starter.  */
                    struct lisp_parse_state state;
                    scan_sexps_forward (&state, find_defun_start (comment_end),
-                                       comment_end - 1, -10000, 0, Qnil);
+                                       comment_end - 1, -10000, 0, Qnil, 1);
                    if (state.incomment)
                      from = state.comstart;
                    else
@@ -1191,7 +1191,7 @@ scan_lists (from, count, depth, sexpflag)
                       last passed a comment starter.  */
                    struct lisp_parse_state state;
                    scan_sexps_forward (&state, find_defun_start (comment_end),
-                                       comment_end - 1, -10000, 0, Qnil);
+                                       comment_end - 1, -10000, 0, Qnil, 1);
                    if (state.incomment)
                      from = state.comstart;
                    else